# -*- encoding=utf8 -*-
__author__ = "Bryan.Chen"

from airtest.core.api import *

auto_setup(__file__)

from poco.drivers.std import StdPoco
poco = StdPoco()

using("../FlowTest.air")
import FlowTest

class Login_Guide(FlowTest.BaseTestCase):

    def __init__(self):
        print("%s __init__" % (__file__))
    
    def runTest(self, args):
        locationTutorialsView = poco("LocationTutorialsView")
        if not locationTutorialsView.exists():
            print("locationTutorialsView is not exits")
            return True
        
        btnOK = locationTutorialsView.offspring("button_ok")
        if btnOK.exists():
            self.clickButton(btnOK)
        
        return True
        
_instance = Login_Guide()
runTest = _instance.runTest

